package com.xyht.sca_s.student_manage_system.modules.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.goods.entity.SmsGoodsStock;
import com.xyht.sca_s.student_manage_system.modules.goods.entity.req.SmsGoodsStockAddReq;

/**
 * <p>
 * 物品库存表(--迎新) 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-01-17
 */
public interface SmsGoodsStockService extends IService<SmsGoodsStock> {

    ResponseResult addGoodsStock(String userId, SmsGoodsStockAddReq addReq);

    ResponseResult reduceGoodsStock(SmsGoodsStockAddReq reduceReq, String userId);

    ResponseResult getGoodsStockHistoryList(Integer pageNum, Integer pageSize, String searchStr, Integer stockType, String classificationId);
}
